package com.spzx.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.order.domain.OrderForm;
import com.spzx.order.domain.OrderInfo;
import com.spzx.order.domain.OrderItem;
import com.spzx.order.domain.TradeVo;

import java.util.List;

public interface IOrderInfoService extends IService<OrderInfo> {

	TradeVo createTrade();

	Long submitOrder(OrderForm tradeVo);

 	void processCancelOrder(String orderId);

	OrderInfo getOrderInfo(Long orderId);

	List<OrderItem> userOrderInfoList(Integer pageNum, Integer pageSize, Integer orderStatus);

}
